﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PlayerScannerCore.ViewModel;

namespace PlayerScannerCore
{
    internal class ViewModelItemFactory : ItemFactory
    {
        public override IWeapon CreateWeapon() { return new WeaponViewModel(); }
        public override ISWeapon CreateSWeapon() { return new SWeaponViewModel(); }
        public override IArmor CreateArmor() { return new ArmorViewModel(); }
        public override IShield CreateShield() { return new ShieldViewModel(); }
        public override ITechDisk CreateTechDisk() { return new TechDiskViewModel(); }
        public override IUnit CreateUnit() { return new UnitViewModel(); }
        public override IRegularItem CreateRegularItem() { return new RegularItemViewModel(); }
        public override IRegularItem CreateMeseta() { return new RegularItemViewModel() { ItemType = ItemType.Meseta }; }
        public override IMag CreateMag() { return new MagViewModel(); }
        public override IItem CreateUnknownItem() { return new ItemViewModel(); }
    }
}
